Link to xaw3d if available.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 13 Jun 2007 17:34:30 +0000 (17:34 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 13 Jun 2007 17:34:30 +0000 (17:34 +0000)
lwlib/lwlib-Xaw.c

index be1990ed6fe67b8a2396852be4d6643737017946..4ef2d3fcb67cd83c5c5fc51847f7bf11ef4be0a0 100644 (file)
@@ -35,12 +35,21 @@ Boston, MA 02110-1301, USA.  */
 #include <X11/CoreP.h>
 #include <X11/Shell.h>
 
+#ifdef HAVE_XAW3D
+#include <X11/Xaw3d/Scrollbar.h>
+#include <X11/Xaw3d/Paned.h>
+#include <X11/Xaw3d/Dialog.h>
+#include <X11/Xaw3d/Form.h>
+#include <X11/Xaw3d/Command.h>
+#include <X11/Xaw3d/Label.h>
+#else /* !HAVE_XAW3D */
 #include <X11/Xaw/Scrollbar.h>
 #include <X11/Xaw/Paned.h>
 #include <X11/Xaw/Dialog.h>
 #include <X11/Xaw/Form.h>
 #include <X11/Xaw/Command.h>
 #include <X11/Xaw/Label.h>
+#endif /* HAVE_XAW3D */
 
 #include <X11/Xatom.h>